
<?php
header("content-type:text/html;charset=utf-8");
include("./conn/conn.php");
session_start();
$da=$_POST['da'];
$te=$_POST['te'];
$_SESSION['da']=$da;
$_SESSION['te']=$te;
if($da==""){
			echo("<script>alert('请输入入住时间！');window.location.href='kfyd1.php';</script>");
}else if($te==""){
			echo("<script>alert('请输入离店时间！');window.location.href='kfyd1.php';</script>");
			}
if($da!="" and $te!=""){
	echo("<script>alert('已选定时间！');window.location.href='kfyd.php';</script>");
	}
?>
